package com.test.test01.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * Banner表
 * </p>
 *
 * @author houyi
 * @since 2020-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Banner implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    protected Long id;

    /**
     * 分类
     */
    private Integer type;

    /**
     * 跳转分类
     */
    private Integer redirectType;

    /**
     * 轮播图地址
     */
    private String imageUrl;

    /**
     * 备注
     */
    private String remark;

    /**
     * 轮播图顺序
     */
    private Integer sequence;

    /**
     * 状态 0 启用 1 禁用
     */
    private Integer status;

    /**
     * 跳转链接
     */
    private String redirectUrl;
    /**
     * 点击次数
     */
    private Long clickCount;

}
